3.1330 \(\int \frac{(1-2 x)^3 (3+5 x)}{2+3 x} \, dx\)

Optimal. Leaf size=37 \[ -\frac{10 x^4}{3}+\frac{188 x^3}{27}-\frac{161 x^2}{27}+\frac{293 x}{81}-\frac{343}{243} \log (3 x+2) \]

[Out]

(293*x)/81 - (161*x^2)/27 + (188*x^3)/27 - (10*x^4)/3 - (343*Log[2 + 3*x])/243

_______________________________________________________________________________________

Rubi [A]  time = 0.0347559, antiderivative size = 37, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.05 \[ -\frac{10 x^4}{3}+\frac{188 x^3}{27}-\frac{161 x^2}{27}+\frac{293 x}{81}-\frac{343}{243} \log (3 x+2) \]

Antiderivative was successfully verified.

[In]  Int[((1 - 2*x)^3*(3 + 5*x))/(2 + 3*x),x]

[Out]

(293*x)/81 - (161*x^2)/27 + (188*x^3)/27 - (10*x^4)/3 - (343*Log[2 + 3*x])/243

_______________________________________________________________________________________

Rubi in Sympy [F]  time = 0., size = 0, normalized size = 0. \[ - \frac{10 x^{4}}{3} + \frac{188 x^{3}}{27} - \frac{343 \log{\left (3 x + 2 \right )}}{243} + \int \frac{293}{81}\, dx - \frac{322 \int x\, dx}{27} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((1-2*x)**3*(3+5*x)/(2+3*x),x)

[Out]

-10*x**4/3 + 188*x**3/27 - 343*log(3*x + 2)/243 + Integral(293/81, x) - 322*Inte
gral(x, x)/27

_______________________________________________________________________________________

Mathematica [A]  time = 0.0192441, size = 32, normalized size = 0.86 \[ \frac{1}{729} \left (-2430 x^4+5076 x^3-4347 x^2+2637 x-1029 \log (3 x+2)+5674\right ) \]

Antiderivative was successfully verified.

[In]  Integrate[((1 - 2*x)^3*(3 + 5*x))/(2 + 3*x),x]

[Out]

(5674 + 2637*x - 4347*x^2 + 5076*x^3 - 2430*x^4 - 1029*Log[2 + 3*x])/729

_______________________________________________________________________________________

Maple [A]  time = 0.003, size = 28, normalized size = 0.8 \[{\frac{293\,x}{81}}-{\frac{161\,{x}^{2}}{27}}+{\frac{188\,{x}^{3}}{27}}-{\frac{10\,{x}^{4}}{3}}-{\frac{343\,\ln \left ( 2+3\,x \right ) }{243}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((1-2*x)^3*(3+5*x)/(2+3*x),x)

[Out]

293/81*x-161/27*x^2+188/27*x^3-10/3*x^4-343/243*ln(2+3*x)

_______________________________________________________________________________________

Maxima [A]  time = 1.3403, size = 36, normalized size = 0.97 \[ -\frac{10}{3} \, x^{4} + \frac{188}{27} \, x^{3} - \frac{161}{27} \, x^{2} + \frac{293}{81} \, x - \frac{343}{243} \, \log \left (3 \, x + 2\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(-(5*x + 3)*(2*x - 1)^3/(3*x + 2),x, algorithm="maxima")

[Out]

-10/3*x^4 + 188/27*x^3 - 161/27*x^2 + 293/81*x - 343/243*log(3*x + 2)

_______________________________________________________________________________________

Fricas [A]  time = 0.217396, size = 36, normalized size = 0.97 \[ -\frac{10}{3} \, x^{4} + \frac{188}{27} \, x^{3} - \frac{161}{27} \, x^{2} + \frac{293}{81} \, x - \frac{343}{243} \, \log \left (3 \, x + 2\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(-(5*x + 3)*(2*x - 1)^3/(3*x + 2),x, algorithm="fricas")

[Out]

-10/3*x^4 + 188/27*x^3 - 161/27*x^2 + 293/81*x - 343/243*log(3*x + 2)

_______________________________________________________________________________________

Sympy [A]  time = 0.175261, size = 34, normalized size = 0.92 \[ - \frac{10 x^{4}}{3} + \frac{188 x^{3}}{27} - \frac{161 x^{2}}{27} + \frac{293 x}{81} - \frac{343 \log{\left (3 x + 2 \right )}}{243} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((1-2*x)**3*(3+5*x)/(2+3*x),x)

[Out]

-10*x**4/3 + 188*x**3/27 - 161*x**2/27 + 293*x/81 - 343*log(3*x + 2)/243

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.211317, size = 38, normalized size = 1.03 \[ -\frac{10}{3} \, x^{4} + \frac{188}{27} \, x^{3} - \frac{161}{27} \, x^{2} + \frac{293}{81} \, x - \frac{343}{243} \,{\rm ln}\left ({\left | 3 \, x + 2 \right |}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(-(5*x + 3)*(2*x - 1)^3/(3*x + 2),x, algorithm="giac")

[Out]

-10/3*x^4 + 188/27*x^3 - 161/27*x^2 + 293/81*x - 343/243*ln(abs(3*x + 2))